package com.lagou.rpc.consumer.client;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ClientConfig {
    public static final String ALG_ROUND_ROBIN = "0";
    public static final String ALG_LOAD_BALANCE = "1";

    @Value("${client.algorithm}")
    private String algorithm;

    public String getAlgorithm() {
        return algorithm;
    }
}
